import 'package:inmotion_pro/pages/mine/controller.dart';
import 'package:inmotion_pro/pages/launch/root/controller.dart';
import 'package:inmotion_pro/pages/shopping/controller.dart';
import 'package:inmotion_pro/routes/app_routes.dart';
import 'package:get/get.dart';

import '../../main/controller.dart';

class AppRootBinding extends Bindings {
  @override
  void dependencies() {
    // 车辆控制器
    Get.lazyPut(() => VehicleController(), tag: AppRoutes.VEHICLE);

    // 购物
    Get.lazyPut(() => ShoppingController(), tag: AppRoutes.SHOP);

    // 我的控制器
    Get.lazyPut(() => MineController(), tag: AppRoutes.MINE);

    // 底部导航栏控制器
    Get.lazyPut(() => RootController(), tag: AppRoutes.ROOT);
  }
}
